﻿using System;

namespace SoldiHive.Model
{
	[Serializable]
	public class Industry : MarketEntity
	{
		public Industry(string name)
			: base(name)
		{
		}

		public override bool Equals(object obj)
		{
			return base.Equals(obj);
		}

		public override int GetHashCode()
		{
			return base.GetHashCode();
		}

		public static bool operator ==(Industry left, Industry right)
		{
			if ((object)left == null)
			{
				return Industry.Equals(left, right);
			}

			return left.Equals(right);
		}

		public static bool operator !=(Industry left, Industry right)
		{
			return !(left == right);
		}
	}
}
